package pers.vic.generator.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:generator-config.properties")
//@ImportResource(locations = "classpath:xx.xml")
public class ConfigurationOfGenerator {
	
	@Value("${mainPath}")
	public String mainPath;
	//包名
	@Value("${packageName}")
	public String packageName;
	
	@Value("${moduleName}")
	public String moduleName;
	//作者
	@Value("${author}")
	public String author;
	//Email
	@Value("${email}")
	public String email;
	
	//表前缀(类名不会包含表前缀)
	@Value("${tablePrefix}")
	public String tablePrefix;
	public String getMainPath() {
		return mainPath;
	}
	public void setMainPath(String mainPath) {
		this.mainPath = mainPath;
	}
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public String getModuleName() {
		return moduleName;
	}
	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTablePrefix() {
		return tablePrefix;
	}
	public void setTablePrefix(String tablePrefix) {
		this.tablePrefix = tablePrefix;
	}


	
	

}
